package com.fourool.goodsmall.service.impl;

import com.fourool.goodsmall.entity.GCategory;
import com.fourool.goodsmall.mapper.GCategoryMapper;
import com.fourool.goodsmall.service.GCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class GCategoryServiceImpl implements GCategoryService {

    @Autowired
    private GCategoryMapper categoryMapper;

    @Override
    public List<GCategory> findAll() {
        return categoryMapper.findAll();
    }
}